bufio.Reader.lastByte (field)
14 uses
bufio (current package)
bufio.go#L37: lastByte int // last byte read for UnreadByte; -1 means invalid
bufio.go#L91: lastByte: -1,
bufio.go#L147: b.lastByte = -1
bufio.go#L184: b.lastByte = -1
bufio.go#L235: b.lastByte = int(p[n-1])
bufio.go#L259: b.lastByte = int(b.buf[b.r-1])
bufio.go#L276: b.lastByte = int(c)
bufio.go#L286: if b.lastByte < 0 || b.r == 0 && b.w > 0 {
bufio.go#L296: b.buf[b.r] = byte(b.lastByte)
bufio.go#L297: b.lastByte = -1
bufio.go#L318: b.lastByte = int(b.buf[b.r-1])
bufio.go#L332: b.lastByte = -1
bufio.go#L384: b.lastByte = int(line[i])
bufio.go#L518: b.lastByte = -1
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |